package com.ming.service;

import com.ming.common.Result;
import com.ming.domain.BookReturn;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ming.query.BookReturnQuery;

/**
 *@Author:何元才
 *@Desc:
 *@data:2021-05-05 22:15
 */
public interface BookReturnService extends IService<BookReturn>{


        /**
         * 分页查询还书记录
         * @param query
         * @return
         */
    Result queryPage(BookReturnQuery query);

    /**
     * 还书
     * @param bookReturn
     * @return
     */
    Result returnBook(BookReturn bookReturn);
}
